/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.charlesen.projets.utt.lo09.facades;

import fr.charlesen.projets.utt.lo09.entites.Etudiants;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Charles EDOU NZE
 */
@Stateless
public class EtudiantsFacade extends AbstractFacade<Etudiants> implements EtudiantsFacadeLocal {
    @PersistenceContext(unitName = "ProjetGestionDesStages-ejbPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public EtudiantsFacade() {
        super(Etudiants.class);
    }

}
